import {StyleSheet, Dimensions} from 'react-native';
import px2dp from '../../utils/px2dp';
const deviceHeight = Dimensions.get('window').height;

const styles = StyleSheet.create({
  head_right: {
    flexDirection: 'row',
    alignItems: 'center',
  },
  list_img: {
    width: px2dp(750),
    height: px2dp(424),
    backgroundColor: '#f7f7f7',
    marginBottom: px2dp(36),
  },
  star_icon: {
    width: px2dp(36),
    height: px2dp(36),
    marginRight: px2dp(43),
  },
  container: {
    flexDirection: 'row',
  },
  list: {
    height: deviceHeight,
    borderRightWidth: 1,
    borderRightColor: '#eee',
    paddingHorizontal: px2dp(24),
  },
  ques_container: {
   flex: 1,
   backgroundColor: '#fff',
  },
  list_title: {
    fontWeight: 'bold',
    fontSize: px2dp(24),
    color: '#333',
    marginVertical: px2dp(21),
  },
  list_text: {
    marginVertical: px2dp(21),
    fontSize: px2dp(22),
    color: '#333',
  },
  selected_text: {
    fontSize: px2dp(24),
    color: '#EB0029',
  },
  ques: {
    paddingHorizontal: px2dp(44),
    marginVertical: px2dp(41),
  },
  ques_text: {
    color: '#333',
    fontSize: px2dp(28),
    fontWeight: 'bold',
  },
  answer: {
    paddingHorizontal: px2dp(46),
    marginBottom: px2dp(24),
  },
  answer_btn_list: {
    marginBottom: px2dp(24),
  },
  answer_list: {
    flexDirection: 'row',
    alignItems: 'center',
    // height: px2dp(78),
    minHeight: px2dp(78),
    borderRadius: px2dp(24),
    borderWidth: 1,
    borderColor: '#CCCCCC',
    paddingTop: px2dp(10),
    paddingBottom: px2dp(10),
    paddingRight: px2dp(10),
  },
  left: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: '800',
    marginLeft: px2dp(45),
    marginRight: px2dp(23),
  },
  line: {
    width: px2dp(2),
    height: px2dp(20),
    backgroundColor: '#ccc',
    marginRight: px2dp(23),
  },
  right: {
    flex: 1,
    fontSize: px2dp(26),
    color: '#333',
  },
  selected_answer_list: {
    borderColor: '#3BB430',
    backgroundColor: 'rgb(237, 248, 237)',
  },
  selected_left: {
    color: '#3BB430',
  },
  selected_line: {
    backgroundColor: '#3BB430',
  },
  selected_right: {
    color: '#3BB430',
  },
  wrong_answer_list: {
    borderColor: '#eb0029',
    backgroundColor: '#fdebee',
  },
  wrong_left: {
    color: '#eb0029',
  },
  wrong_line: {
    backgroundColor: '#eb0029',
  },
  wrong_right: {
    color: '#eb0029',
  },
  btn_container: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-around',
    marginTop: px2dp(100),
  },
  btn: {
    width: px2dp(200),
    height: px2dp(58),
    alignItems: 'center',
    justifyContent: 'center',
    backgroundColor: '#3699FF',
    borderRadius: px2dp(29),
  },
  btn_text: {
    fontSize: px2dp(24),
    fontWeight: 'bold',
    color: '#fff',
  },
  ques_answer: {
    paddingHorizontal: px2dp(39),
  },
  ques_answer_text1: {
    fontSize: px2dp(28),
    fontWeight: 'bold',
    color: '#333',
    marginTop: px2dp(30),
  },
  ques_answer_text2: {
    fontSize: px2dp(26),
    fontWeight: 'bold',
    color: '#333',
    marginTop: px2dp(41),
    marginBottom: px2dp(21),
  },
  ques_answer_text3: {
    fontSize: px2dp(24),
    color: '#666',
    lineHeight: px2dp(34),
  },
  full_screen_submit: {
    width: px2dp(200),
    height: px2dp(58),
    backgroundColor: '#3699FF',
    borderRadius: px2dp(24),
    marginRight: px2dp(20),
    alignItems: 'center',
    justifyContent: 'center',
  },
  full_screen_submit_gray: {
    backgroundColor: 'gray',
  },
  submit_red: {
    backgroundColor: 'red',
  },
});

export default styles;
